package com.example.homeworkmanagement.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 拒绝加班
 * @since 2025-05-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Assignments对象", description="")
public class Assignments implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "作业id")
    @TableId(value = "assignment_id", type = IdType.AUTO)
    private Integer assignmentId;

    @ApiModelProperty(value = "作业所属的教学id")
    private Integer teachId;

    @ApiModelProperty(value = "作业标题")
    private String title;

    @ApiModelProperty(value = "作业的具体内容")
    private String content;

    @ApiModelProperty(value = "作业布置时间")
    private Date startTime;

    @ApiModelProperty(value = "作业截止时间")
    private Date dueTime;

    @ApiModelProperty(value = "附件")
    private Integer attachment;

    @ApiModelProperty(value = "作业状态（1-未批改，2-已批改）")
    private String state;


}
